1. /* snmalloc.cpp by K.Tsuru */
  2. // function ID = 110
  3. /**************************************
  4. SNumber class
  5. It allocates the memory of figure[].
  6. Exept the argument "copy" the constructor
  7. SNumber( NumberType tp, uint fsz)
  8. has the almost same function.
  9. **************************************/
  10. #ifndef SN_H
  11. #include "sn.h"
  12. #endif
  13. void SNumber::FigureAlloc(uint size, int copy){
  14. //When the size which is greater than the minimum size is requested
  15. //it takes into the irreducible size mode.
  16. if(size > minArraySize) CutDown(DISABLE);
  17. if(size) valloc(size, copy); //It includes detecting error.
  18. else SizeZero();
  19. }

snmalloc.cpp : last modifiled at 2015/11/27 16:02:56(634 bytes)
created at 2016/04/11 11:36:47
The creation time of this html file is 2017/10/27 10:59:17 (Fri Oct 27 10:59:17 2017).